Latest Questions

Application Error while uploading to Heroku

For my application's backend I'm trying to host in on heroku. After creating a new app on heroku I've followed all the steps that it showed me and it was deploy

How to write a simple code to do float calculation in Python?

I would like to write a code for this calculation: 3.3+4.8*6-4/2 Here is my code: from decimal import * a = Decimal('3.3') + Decimal('4.8') * 6 b = 4 / 2 c =

Eclipse-Selenium-Extract the value from the table

I am relatively new to the Test Automation and in particular to the Selenium. I am using Selenium Web-driver, Eclipse. I can not extract the value from the colu

How to fix a null object reference on document snapshot

I have an program where the MainActivity display the name and the email of the user on top of the screen by using document snapshot that been stored in firestor

org.apache.commons.mail.util.MimeMessageParser never ends parsing

I have some code to parse incoming mails. I use org.apache.commons.mail.util.MimeMessageParser for this.The problem occurs in the following method: private Stri

Make a dataframe avaliable until it's update [duplicate]

I have a Flask application with reads a dataframe and provide it in a service. The problem is that I need to update it (only a reading from s

Form validation if user submits a specific phrase

in the process of adding a sign up form to a website. The form will have first name, last name, and email text fields. I want the form to also have a text strin

Show CollectionView Grouping not working in Xamarin

I have an article here about showing Data Groups from Preferences . As per everyone's input I switched to CollectionView. I have consulted the article https://d

How can create merge adapter class in android kotlin

How can create merge adapter class in android Kotlin i have two class one class contain header other class contain image card how can create merge adapter class

Getting error 'NoneType' object has no attribute 'read' in python for image processing image_dataframe['image']

I am working on image classification using CNN. I am using below source code for that task. I am stuck with this error : AttributeError: 'NoneType' object has

Java selenium - timed out waiting for driver server to start

i need help , how to fix this bug , " timed out waiting for driver server to start " enter image description here i have tried many ways like changing google ve

How to overwrite color of ElevatedButton with LinearGradient?

I am trying to do ElevatedButton with LinearGradient, I am giving it to Container around my button, but it's not affecting it. I tried to set backgroundColor of

The custom view added in the WKWebview is not listed during UITesting

I have a UITableview with the below view hierarchy. UIViewController |--UITableView |--WKWebview |--ScrollView |--UIView The UIView i

Update latitude and longitude Leaflet Vue js

const getAgenApi = () => { this.longitudeNow = parseFloat(106.105104103); this.latitudeNow = parseFloat(-123.123); // other code... }; mymap.on("geos

Split dataframe column at specific words

One column in my dataframe is a long string. I want to split out portions of the string into its own column based on a few different words. What would be the be

How to parse date from year and quarter using java.time

I am trying to parse strings in the format of "<year> <quarter>" ("2022 1", "2022 2") into java.time.LocalDate objects. The closest related question

AutoCAD : I don't know the answer, can anyone help me?

In AutoCAd, this term used to describe the status of the command line after you exit a command?

Automatically open a copy of the attached file when I open a specific message with subject on specific outlook folder

I created a custom folder on outlook with name “MyTemplate” and inside that folder an email message with subject Auto Plan ( It is a template email

How to reassign values in column by condition in dataframe?

df = pd.DataFrame([["A", "AA", "AAA", "found"], ["A", "AB", "ABA", "not found"], ["A", "AB", "ABB", "not found"],

vue filtering method how it works

Here's the some code i try what I did deleteajobewith_events(event){ const data =event.store.readQuery({ query: ClientJobesList, varia

Groovy Script error: Unable to process url

I am actually trying to list the files available in artifactory url. But getting the error groovy.json.JsonException: Unable to process url: at ConsoleScript27.

Why is reqparse not understanding the POST request?

From what I've seen online, I can use reqparse from flask_restful to add data to my GET and POST requests. Here is what I have: from flask import Flask, request

How to Keep checkbox previous state after refreshing page

<div class="col-sm-12 form-group mt-15"> <label class="active">Blood Group</label> <span style="float: right;"> <input type=

How to use jitsi_meet package in production?

I am using jitsi_meet package in flutter for live streaming. But I have read that, you can't directly upload the jitsi_meet apk to the play store. You have to c

How to detect letters and theirs upper/lower case format from two characters which need to be compared to each other?

I need to get: If either of the characters is not a letter, return -1 If both characters are the same case, return 1 If both characters are letters, but not the

Nuxt Static Site 404 Error page not rendering dynamic content correctly

Edit Ok i managed to solve the error template not being loaded. It was an htaccess issue. If I change the ErrorDocument to be /sub/dirs/error.html (note the mis

Error adding Data Validation List to Excel With OfficeOpenXml

I am trying to add a data validation list to excel using OfficeOpenXml on D365fo but when the formula is assigned its throw an error. worksheetTo = packageTo.ge

Which Language / Syntax / MarkUp is this?

While writing a README in one of my projects, GitHub Co-Pilot suggested a piece of code that I don't understand. It seems to be some mark-up of some sort. Does

How to write a simple code to do float calculation in Python?

I would like to write a code for this calculation: 3.3+4.8*6-4/2 Here is my code: from decimal import * a = Decimal('3.3') + Decimal('4.8') * 6 b = 4 / 2 c =

.NET/EF Core - simple identity

Is it okay to do the identity without using ASP.NET Core Identity? I ask because registration for me is teaking data from user, hash password and put data with